package cn.fl.settlement.service;

import cmm.comm.facade.upload.dto.SysUlFilesRecDTO;
import cn.cmm.base.framework.exception.BaseException;
import cn.fl.project.vo.PrjFileInfoVO;

import java.util.List;

/**
* @Description:    结清附件接口
* @Author:         liurong
* @CreateDate:     2020/9/2 18:11
* @Version:        1.0
*/
public interface ISettlementFileService {

    /**
     * 查询结清附件
     * @param paySchId
     * @return
     * @throws BaseException
     */
    List<PrjFileInfoVO> searchSettleFileList(Long paySchId) throws BaseException;

    /**
     * 移除指定的结清文件
     * @param fileId
     * @return
     * @throws BaseException
     */
    boolean removeFile(Long fileId) throws BaseException;

    /**
     * 判断isMust，如果=1，则查询是否上传结清申请书
     * @param pkId
     * @return
     * @throws BaseException
     */
    boolean isUploadStlApplication(String pkId) throws BaseException;
}
